﻿<UserControl x:Class="TimHeuer.Expression.FtpPublish.StandardSettings"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="auto" Width="auto">
    <Grid Height="Auto">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" MinHeight="24" />
            <RowDefinition Height="Auto" MinHeight="23.727" />
            <RowDefinition Height="Auto" MinHeight="23.727" />
            <RowDefinition Height="Auto" MinHeight="13.103" />
            <RowDefinition Height="Auto" MinHeight="12.857" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" MinWidth="100" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Label Grid.Column="0" Grid.Row="0" HorizontalAlignment="Right" Margin="0,0,3,0" Content="Server Address" Height="Auto" VerticalAlignment="Center" />
        <TextBox x:Name="ServerAddress" Margin="0,2.5,0,2.5" Text="{Binding Path=ServerAddress, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" Grid.Row="0" Height="Auto" VerticalAlignment="Top" ToolTip="Enter the FTP server address name or IP address" />
        <Label Grid.Column="0" Grid.Row="1" HorizontalAlignment="Right" Margin="0,0,3,0" Content="UserName" Grid.RowSpan="1" />
        <TextBox Name="UserName" Grid.Column="1" Margin="0,2.5,0,2.5" Grid.Row="1" Height="Auto" VerticalAlignment="Top" Text="{Binding Path=UserName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ToolTip="FTP account user name" />
        <Label Grid.Column="0" Grid.Row="2" HorizontalAlignment="Right" Margin="0,0,3,0" Content="Password" />
        <TextBox Name="Password" Grid.Row="2" Grid.Column="1" ToolTip="FTP account password" Margin="0,2.5,0,2.5" Text="{Binding Path=Password, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
        <CheckBox Name="SavePassword" Grid.Column="1" Grid.Row="3" Margin="0,0,0,3" Content="Save password" ToolTip="Saves the password in a safe manner" IsChecked="{Binding Path=SavePassword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
        <Label Grid.Column="0" Grid.Row="4" HorizontalAlignment="Right" Margin="0,0,3,0" Content="Default Directory" />
        <TextBox Name="DefaultDirectory" Margin="0,2.5,0,2.5" Grid.Row="4" Grid.Column="1" ToolTip="Default directory (root if blank)" Text="{Binding Path=DefaultDirectory, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
        <CheckBox Name="UseProxy" Grid.Column="1" Grid.Row="5" Margin="0,0,0,3" Content="Use System Proxy" ToolTip="Uses the system proxy settings" IsChecked="{Binding Path=UseProxy, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
    </Grid>
</UserControl>